package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @version 1.0
 * @Author YanJingren
 * @Date 2021/3/5
 * @Description com.atguigu.springcloud.service
 */
@Component
public class PaymentFallbackService implements OrderHystrixService {
    @Override
    public String paymentInfo_ok(Integer id) {
        return "------PaymentFallbackService fall back, paymentInfo_ok, o(╥﹏╥)o";
    }

    @Override
    public String paymentInfo_timeout(Integer id) {
        return "------PaymentFallbackService fall back, paymentInfo_timeout, o(╥﹏╥)o";
    }
}
